scala_library(
    sources = ["**/*.scala"],
    compiler_option_sets = {"fatal_warnings"},
    provides = scala_artifact(
        org = "com.twitter",
        name = "finagle-netty4",
        repo = artifactory,
    ),
    dependencies = [
        "3rdparty/jvm/io/netty:netty4",
        "3rdparty/jvm/io/netty:netty4-codec",
        "3rdparty/jvm/io/netty:netty4-codec-http",
        "3rdparty/jvm/io/netty:netty4-handler-proxy",
        "finagle/finagle-core/src/main/scala",
        "finagle/finagle-init/src/main/scala",
        "finagle/finagle-netty4/src/main/resources",
        "finagle/finagle-toggle",
        "util/util-app/src/main/scala",
        "util/util-codec/src/main/scala",
        "util/util-core/src/main/scala",
        "util/util-jvm/src/main/scala",
        "util/util-lint/src/main/scala",
        "util/util-logging/src/main/scala",
        "util/util-registry/src/main/scala",
        "util/util-security/src/main/scala",
        "util/util-stats/src/main/scala",
    ],
    exports = [
        "3rdparty/jvm/io/netty:netty4",
    ],
)
